import request from '@/lib/request.js'

export default {
	// 资金流水列表
	financialRecordLst(cond) {
		if(!cond) return;
		return request.get('/financial_record/list',{},true,cond)
	},
	// 商品对账列表
	orderReconciliationLst(cond) {
		if(!cond) return;
		return request.get('/store/order/reconciliation/lst',{},true,cond)
	},
	// 确认对账
	orderReconciliationStatus(data) {
		return request.post('/store/order/reconciliation/status/'+data.id,data)
	},
	// 对账单详情
	orderReconciliationDetail(data) {
		return request.get('/store/order/reconciliation/'+data.id+'/order',data)
	},
}